package com.ruoyi.swimming.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 泳馆对象 natatorium
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public class Natatorium extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 游泳馆名称 */
    @Excel(name = "游泳馆名称")
    private String natatoriumName;

    /** 主图url */
    @Excel(name = "主图url")
    private String mainPicUrl;

    /** 地址address */
    @Excel(name = "地址address")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 详情 */
    @Excel(name = "详情")
    private String desc;

    /** 开馆时间 */
    @Excel(name = "开馆时间")
    private String openTime;

    /** 闭馆时间 */
    @Excel(name = "闭馆时间")
    private String closeTime;

    /** 客服电话 */
    @Excel(name = "客服电话")
    private String servicePhone;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @TableLogic
    private Integer isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNatatoriumName(String natatoriumName) 
    {
        this.natatoriumName = natatoriumName;
    }

    public String getNatatoriumName() 
    {
        return natatoriumName;
    }
    public void setMainPicUrl(String mainPicUrl) 
    {
        this.mainPicUrl = mainPicUrl;
    }

    public String getMainPicUrl() 
    {
        return mainPicUrl;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setOpenTime(String openTime)
    {
        this.openTime = openTime;
    }

    public String getOpenTime()
    {
        return openTime;
    }
    public void setCloseTime(String closeTime)
    {
        this.closeTime = closeTime;
    }

    public String getCloseTime()
    {
        return closeTime;
    }
    public void setServicePhone(String servicePhone) 
    {
        this.servicePhone = servicePhone;
    }

    public String getServicePhone() 
    {
        return servicePhone;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("natatoriumName", getNatatoriumName())
            .append("mainPicUrl", getMainPicUrl())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("desc", getDesc())
            .append("openTime", getOpenTime())
            .append("closeTime", getCloseTime())
            .append("servicePhone", getServicePhone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
